import useUserStore from '@/store/user';

export const hasPerm = () => {};
export const isAdmin = () => {
  const userStore = useUserStore();
  return !userStore.$state.userInfo?.admin;
};
